* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.major-select {
    width: 100%!important;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.major-select:focus {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

/* 下拉选项样式 */
.major-select option {
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}
body.register_body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
    overflow: hidden;
    background: url('../assets/background.png') no-repeat center center fixed;
    background-size: cover;
}

body.register_body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/background.png') no-repeat center center fixed;
    background-size: cover;
    filter: brightness(0.6);
    z-index: -2;
}

/* 统一半透明容器 */
.register-container {
    position: relative;
    width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* 统一标题样式 */
.form-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 统一输入框组样式 */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    padding: 0 8px;
    font-size: 14px;
    color: #333;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

/* 统一按钮样式 */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: rgba(106, 17, 203, 0.7);
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn:hover {
    background: rgba(106, 17, 203, 0.8);
    transform: translateY(-1px);
}

/* 统一链接样式 */
.login-link {
    text-align: center;
    margin-top: 25px;
    color: rgba(51, 51, 51, 0.8);
}

.login-link a {
    color: rgba(51, 51, 51, 0.9);
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 12px;
    display: inline-block;
    transition: all 0.3s ease;
}

.login-link a:hover {
    background: rgba(255,255,255,0.3);
}